package com.lanmao.emc.constant;

import com.lanmao.emc.entity.FeIndexLogPO;
import com.lanmao.emc.entity.FeVersionPO;
import com.lanmao.emc.utils.FieldUtils;

/**
 * 描述：
 *
 * @author lanmao
 * @since 2024年11月13日 21:55
 */
public class FieldConstant {
    public static final String INDEX_POST_TAG_SO = "_s0";


    /**
     * 表名
     */
    public static final String TABLE_VERSION = "fe_version";
    public static final String TABLE_INDEX_LOG = "fe_index_log";

    /**
     * 字段名
     */

    public static final String INDEX_REL_NAME = FieldUtils.val(FeIndexLogPO::getIndexRelName);
    public static final String INDEX_NAME = FieldUtils.val(FeIndexLogPO::getIndexName);
    public static final String IS_USED = FieldUtils.val(FeIndexLogPO::getIsUsed);
    public static final String VERSION = FieldUtils.val(FeIndexLogPO::getVersion);
    public static final String PROJECT_NAME = FieldUtils.val(FeIndexLogPO::getProjectName);
    public static final String CREATE_TIME = FieldUtils.val(FeIndexLogPO::getCreateTime);
    public static final String COST_TIME = FieldUtils.val(FeIndexLogPO::getCostTime);
    public static final String ERROR_INFO = FieldUtils.val(FeIndexLogPO::getErrorInfo);
    public static final String SUCCESS = FieldUtils.val(FeIndexLogPO::getSuccess);
    public static final String COUNT = FieldUtils.val(FeIndexLogPO::getCount);
    public static final String DESC = FieldUtils.val(FeVersionPO::getDescription);
    public static final String ID = FieldUtils.val(FeVersionPO::getId);
    public static final String REMARK = FieldUtils.val(FeVersionPO::getRemark);
}
